﻿Imports DAO
Imports System.Data.SqlClient

Public Class ProcFuncBus
    Public Shared Sub ExecuteProcSQL(ByVal sql As String)
        ProcFuncDao.ExecuteProcSQL(sql)
    End Sub

    Public Shared Function ExecuteFuncSQL(ByVal sql As String) As DataTable
        Return ProcFuncDao.ExecuteFuncSQL(sql)
    End Function

    Public Shared Function ExecuteFuncSQL_SqlDataAdapter(ByVal sql As String) As SqlDataAdapter
        Return ProcFuncDao.ExecuteFuncSQL_SqlDataAdapter(sql)
    End Function

    Public Shared Sub CreateConnectionStringFromXml(ByVal filename As String)
        DataProvider.CreateConnectionStringFromXml(filename)
    End Sub

    Public Shared Function ExecuteFuncSSQL(ByVal sql As String) As Object      
        Return ProcFuncDao.ExecuteFuncSSQL(sql)
    End Function
End Class
